<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.3.0">
<drawing>
<schematic>
<libraries>
<library name="fab">
<packages>
<package name="USB_MINIB">
</package>
<package name="DO41Z10">
<description>&lt;B&gt;DIODE&lt;/B&gt;&lt;p&gt;
diameter 2.54 mm, horizontal, grid 10.16 mm</description>
</package>
<package name="SOD123">
<description>&lt;b&gt;SMALL OUTLINE DIODE&lt;/b&gt;</description>
</package>
<package name="R1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="R1206W">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
wave soldering</description>
</package>
<package name="R1206FAB">
</package>
<package name="C1206">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="C1206FAB">
</package>
<package name="SJFAB">
</package>
<package name="2X03SMD">
</package>
<package name="2X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="2-SMD-5X3MM">
</package>
<package name="SOIC14">
<description>&lt;b&gt;Small Outline Package&lt;/b&gt;</description>
</package>
<package name="DIL14">
<description>&lt;b&gt;Dual In Line Package&lt;/b&gt;</description>
</package>
<package name="QFN/MLF20">
<description>&lt;b&gt;HP-VFQFP-N20&lt;/b&gt; Micro Lead Frame package (MLF)</description>
</package>
</packages>
<symbols>
<symbol name="USB">
<pin name="D+"/>
<pin name="D-"/>
<pin name="VBUS"/>
<pin name="GND"/>
<pin name="SHIELD" direction="pas"/>
</symbol>
<symbol name="ZENER">
<pin name="ANODE" direction="pas"/>
<pin name="CATHODE" direction="pas"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="CAP-NONPOLARIZED">
<description>non-polarized capacitor</description>
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
<symbol name="SJFAB">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="AVRISP">
<pin name="MISO" direction="pas" function="dot"/>
<pin name="VCC" direction="pas" function="dot"/>
<pin name="SCK" direction="pas" function="dot"/>
<pin name="MOSI" direction="pas" function="dot"/>
<pin name="RST" direction="pas" function="dot"/>
<pin name="GND" direction="pas" function="dot"/>
</symbol>
<symbol name="CRYSTAL">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="ATTINY24/44/84">
<pin name="GND" direction="pwr"/>
<pin name="VCC" direction="pwr"/>
<pin name="(PCINT7/ICP/OC0B/ADC7)PA7"/>
<pin name="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6"/>
<pin name="(PCINT5/OC1B/MISO/DO/ADC5)PA5"/>
<pin name="(PCINT4/T1/SCL/USCK/ADC4)PA4"/>
<pin name="(PCINT3/T0/ADC3)PA3"/>
<pin name="(PCINT2/AIN1/ADC2)PA2"/>
<pin name="(PCINT1/AIN0/ADC1)PA1"/>
<pin name="(PCINT0/AREF/ADC0)PA0"/>
<pin name="(PCINT11/RESET/DW)PB3"/>
<pin name="(PCINT10/INT0/OC0A/CKOUT)PB2"/>
<pin name="(PCINT9/XTAL2)PB1"/>
<pin name="(PCINT8/XTAL1/CLKI)PB0"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="USB_MINIB">
<gates>
<gate name="G$1" symbol="USB"/>
</gates>
<devices>
<device name="" package="USB_MINIB">
<connects>
<connect gate="G$1" pin="D+" pad="D+"/>
<connect gate="G$1" pin="D-" pad="D-"/>
<connect gate="G$1" pin="GND" pad="GND"/>
<connect gate="G$1" pin="SHIELD" pad="SHIELD@1 SHIELD@2 SHIELD@3 SHIELD@4"/>
<connect gate="G$1" pin="VBUS" pad="VBUS"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="ZENER_DIODE" prefix="D" uservalue="yes">
<description>zener diode</description>
<gates>
<gate name="1" symbol="ZENER"/>
</gates>
<devices>
<device name="DO41Z10" package="DO41Z10">
<connects>
<connect gate="1" pin="ANODE" pad="A"/>
<connect gate="1" pin="CATHODE" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="SOD123" package="SOD123">
<connects>
<connect gate="1" pin="ANODE" pad="ANODE"/>
<connect gate="1" pin="CATHODE" pad="CATHODE"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RES-US" prefix="R" uservalue="yes">
<description>&lt;b&gt;Resistor (US Symbol)&lt;/b&gt;
&lt;p&gt;
Variants with postfix FAB are widened to allow the routing of internal traces</description>
<gates>
<gate name="G$1" symbol="R-US"/>
</gates>
<devices>
<device name="1206" package="R1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206W" package="R1206W">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206FAB" package="R1206FAB">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CAP-UNPOLARIZED" prefix="C" uservalue="yes">
<gates>
<gate name="&gt;NAME" symbol="CAP-NONPOLARIZED"/>
</gates>
<devices>
<device name="" package="C1206">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB" package="C1206FAB">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="SOLDER_JUMPER">
<gates>
<gate name="G$1" symbol="SJFAB"/>
</gates>
<devices>
<device name="" package="SJFAB">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="AVRISP">
<gates>
<gate name="G$1" symbol="AVRISP"/>
</gates>
<devices>
<device name="SMD" package="2X03SMD">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="" package="2X03">
<connects>
<connect gate="G$1" pin="GND" pad="6"/>
<connect gate="G$1" pin="MISO" pad="1"/>
<connect gate="G$1" pin="MOSI" pad="4"/>
<connect gate="G$1" pin="RST" pad="5"/>
<connect gate="G$1" pin="SCK" pad="3"/>
<connect gate="G$1" pin="VCC" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CRYSTAL">
<gates>
<gate name="G$1" symbol="CRYSTAL"/>
</gates>
<devices>
<device name="" package="2-SMD-5X3MM">
<connects>
<connect gate="G$1" pin="1" pad="P$1"/>
<connect gate="G$1" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="ATTINY44" prefix="IC">
<gates>
<gate name="1" symbol="ATTINY24/44/84"/>
</gates>
<devices>
<device name="-SSU" package="SOIC14">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="13"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="12"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="5"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="4"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="11"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="10"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="9"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="8"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="7"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="6"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="2"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="3"/>
<connect gate="1" pin="GND" pad="14"/>
<connect gate="1" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-PU" package="DIL14">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="13"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="12"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="5"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="4"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="11"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="10"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="9"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="8"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="7"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="6"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="2"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="3"/>
<connect gate="1" pin="GND" pad="14"/>
<connect gate="1" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-MU" package="QFN/MLF20">
<connects>
<connect gate="1" pin="(PCINT0/AREF/ADC0)PA0" pad="5"/>
<connect gate="1" pin="(PCINT1/AIN0/ADC1)PA1" pad="4"/>
<connect gate="1" pin="(PCINT10/INT0/OC0A/CKOUT)PB2" pad="14"/>
<connect gate="1" pin="(PCINT11/RESET/DW)PB3" pad="13"/>
<connect gate="1" pin="(PCINT2/AIN1/ADC2)PA2" pad="3"/>
<connect gate="1" pin="(PCINT3/T0/ADC3)PA3" pad="2"/>
<connect gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4" pad="1"/>
<connect gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5" pad="20"/>
<connect gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6" pad="16"/>
<connect gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7" pad="15"/>
<connect gate="1" pin="(PCINT8/XTAL1/CLKI)PB0" pad="11"/>
<connect gate="1" pin="(PCINT9/XTAL2)PB1" pad="12"/>
<connect gate="1" pin="GND" pad="8"/>
<connect gate="1" pin="VCC" pad="9"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="supply1">
<description>&lt;b&gt;Supply Symbols&lt;/b&gt;&lt;p&gt;
 GND, VCC, 0V, +5V, -5V, etc.&lt;p&gt;
 Please keep in mind, that these devices are necessary for the
 automatic wiring of the supply signals.&lt;p&gt;
 The pin name defined in the symbol is identical to the net which is to be wired automatically.&lt;p&gt;
 In this library the device names are the same as the pin names of the symbols, therefore the correct signal names appear next to the supply symbols in the schematic.&lt;p&gt;
 &lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="GND">
<pin name="GND" direction="sup"/>
</symbol>
<symbol name="VCC">
<pin name="VCC" direction="sup"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="GND" prefix="GND">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="1" symbol="GND"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="VCC" prefix="P+">
<description>&lt;b&gt;SUPPLY SYMBOL&lt;/b&gt;</description>
<gates>
<gate name="VCC" symbol="VCC"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="frames">
<description>&lt;b&gt;Frames for Sheet and Layout&lt;/b&gt;</description>
<packages>
</packages>
<symbols>
<symbol name="A5L-LOC">
</symbol>
</symbols>
<devicesets>
<deviceset name="DINA5_L" prefix="FRAME" uservalue="yes">
<description>&lt;b&gt;FRAME&lt;/b&gt;&lt;p&gt;
DIN A5, landscape with doc field</description>
<gates>
<gate name="G$1" symbol="A5L-LOC"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="U$1" library="fab" deviceset="USB_MINIB" device=""/>
<part name="D1" library="fab" deviceset="ZENER_DIODE" device="SOD123"/>
<part name="D2" library="fab" deviceset="ZENER_DIODE" device="SOD123"/>
<part name="R1" library="fab" deviceset="RES-US" device="1206"/>
<part name="C1" library="fab" deviceset="CAP-UNPOLARIZED" device=""/>
<part name="U$2" library="fab" deviceset="SOLDER_JUMPER" device=""/>
<part name="U$3" library="fab" deviceset="AVRISP" device="SMD"/>
<part name="U$4" library="fab" deviceset="CRYSTAL" device=""/>
<part name="IC1" library="fab" deviceset="ATTINY44" device="-SSU"/>
<part name="GND1" library="supply1" deviceset="GND" device=""/>
<part name="GND2" library="supply1" deviceset="GND" device=""/>
<part name="P+1" library="supply1" deviceset="VCC" device=""/>
<part name="P+2" library="supply1" deviceset="VCC" device=""/>
<part name="R2" library="fab" deviceset="RES-US" device="1206"/>
<part name="R3" library="fab" deviceset="RES-US" device="1206"/>
<part name="R4" library="fab" deviceset="RES-US" device="1206" value="499"/>
<part name="P+3" library="supply1" deviceset="VCC" device=""/>
<part name="GND3" library="supply1" deviceset="GND" device=""/>
<part name="GND4" library="supply1" deviceset="GND" device=""/>
<part name="C2" library="fab" deviceset="CAP-UNPOLARIZED" device=""/>
<part name="C3" library="fab" deviceset="CAP-UNPOLARIZED" device=""/>
<part name="C4" library="fab" deviceset="CAP-UNPOLARIZED" device=""/>
<part name="P+4" library="supply1" deviceset="VCC" device=""/>
<part name="GND5" library="supply1" deviceset="GND" device=""/>
<part name="R5" library="fab" deviceset="RES-US" device="1206"/>
<part name="P+5" library="supply1" deviceset="VCC" device=""/>
<part name="R6" library="fab" deviceset="RES-US" device="1206"/>
<part name="P+6" library="supply1" deviceset="VCC" device=""/>
<part name="GND6" library="supply1" deviceset="GND" device=""/>
<part name="FRAME1" library="frames" deviceset="DINA5_L" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text>Fab Lab Egypt</text>
<text>Mohammed Kamel</text>
<text>USB Board</text>
</plain>
<busses>
</busses>
<nets>
<net name="GND">
<segment>
<pinref part="IC1" gate="1" pin="GND"/>
<pinref part="GND1" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="GND"/>
<pinref part="GND3" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="D2" gate="1" pin="ANODE"/>
<pinref part="D1" gate="1" pin="ANODE"/>
<pinref part="GND4" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C2" gate="&gt;NAME" pin="1"/>
<pinref part="C3" gate="&gt;NAME" pin="1"/>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C4" gate="&gt;NAME" pin="1"/>
<pinref part="C1" gate="&gt;NAME" pin="1"/>
<pinref part="GND5" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="GND"/>
<pinref part="GND6" gate="1" pin="GND"/>
</segment>
</net>
<net name="VCC">
<segment>
<pinref part="IC1" gate="1" pin="VCC"/>
<pinref part="P+2" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
<pinref part="P+1" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="VBUS"/>
<pinref part="P+3" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="C4" gate="&gt;NAME" pin="2"/>
<pinref part="C1" gate="&gt;NAME" pin="2"/>
<pinref part="P+4" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="R5" gate="G$1" pin="1"/>
<pinref part="P+5" gate="VCC" pin="VCC"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="VCC"/>
<pinref part="P+6" gate="VCC" pin="VCC"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="U$1" gate="G$1" pin="D-"/>
<pinref part="D2" gate="1" pin="CATHODE"/>
<pinref part="R2" gate="G$1" pin="2"/>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="N$2">
<segment>
<pinref part="U$1" gate="G$1" pin="D+"/>
<pinref part="D1" gate="1" pin="CATHODE"/>
<pinref part="R3" gate="G$1" pin="2"/>
</segment>
</net>
<net name="D+">
<segment>
<pinref part="R3" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT7/ICP/OC0B/ADC7)PA7"/>
</segment>
</net>
<net name="N$5">
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="D-">
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT0/AREF/ADC0)PA0"/>
</segment>
</net>
<net name="N$3">
<segment>
<pinref part="U$4" gate="G$1" pin="2"/>
<pinref part="IC1" gate="1" pin="(PCINT9/XTAL2)PB1"/>
<pinref part="C2" gate="&gt;NAME" pin="2"/>
</segment>
</net>
<net name="N$4">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT8/XTAL1/CLKI)PB0"/>
<pinref part="U$4" gate="G$1" pin="1"/>
<pinref part="C3" gate="&gt;NAME" pin="2"/>
</segment>
</net>
<net name="N$6">
<segment>
<pinref part="R5" gate="G$1" pin="2"/>
<pinref part="IC1" gate="1" pin="(PCINT11/RESET/DW)PB3"/>
<pinref part="R6" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$7">
<segment>
<pinref part="R6" gate="G$1" pin="2"/>
<pinref part="U$2" gate="G$1" pin="2"/>
</segment>
</net>
<net name="RST">
<segment>
<pinref part="U$2" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="IC1" gate="1" pin="(PCINT3/T0/ADC3)PA3"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="RST"/>
</segment>
</net>
<net name="MOSI">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT6/OC1A/SDA/MOSI/ADC6)PA6"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="MOSI"/>
</segment>
</net>
<net name="MISO">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT5/OC1B/MISO/DO/ADC5)PA5"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="MISO"/>
</segment>
</net>
<net name="SCK">
<segment>
<pinref part="IC1" gate="1" pin="(PCINT4/T1/SCL/USCK/ADC4)PA4"/>
</segment>
<segment>
<pinref part="U$3" gate="G$1" pin="SCK"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
